<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>注册</title>
</head>
<body>
<form action="{% url 'App2:check_user' %}" method="post">
    {% csrf_token %}
    用户名 <input type="text" name="username"><br>
    密码 <input type="password" name="password"><br>
    <input type="submit" value="提交">
    {{ msg }}
</form>

</body>
</html>